x=list(range(10))


def replace_even(x):
    for i in range(len(x)):
        if i % 2==0:
            x[i]=0
    return x


print(replace_even(x))


